#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPlainTextEdit>
#include <QListWidget>
class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
   MainWindow();
    ~MainWindow();
protected:
    void closeEvent(QCloseEvent *event);

private slots:
    void print();

private:
    QPlainTextEdit *textEdit;
    QListWidget *customerList;
    QListWidget *paragraphsList;

    void createMessageBox();
    void createCustomerDialog();
    void absolutePosition();
    void manualLayout();
    void layoutManager();
    void stackedLayout();
    void splitter();
    void eventHandler();
    void metaObjectSystem();
    void createDockWindows();
};

#endif // MAINWINDOW_H
